package com.ly.honor.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ly.honor.converter.*;
import lombok.Data;

/**
 * @Author 李某人
 * @Date 2023/3/19 16:16
 * @Version 1.0
 */
@Data
public class PlayerExportVO {

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty(value = "国家",converter = CountryConverter.class)
    private Integer countryId;
    @ExcelProperty("年龄")
    private Integer age;
    @ExcelProperty(value = "学历",converter = EducationConverter.class)
    private Integer educationId;
    @ExcelProperty(value = "游戏",converter = GameConverter.class)
    private Integer gameId;
    @ExcelProperty(value = "位置",converter = PlayerPlaceConverter.class)
    private Integer placeId;
    @ColumnWidth(value = 15)
    @ExcelProperty("信誉积分")
    private Integer honorIntegral;
    @ColumnWidth(value = 9)
    @ExcelProperty(value = "俱乐部",converter = ClueConverter.class)
    private Integer clueId;
    @ExcelProperty("个人简介")
    @ColumnWidth(value = 30)
    private String biography;
}
